package com.mars.boss.weixin.web.model;

import java.util.ArrayList;
import java.util.List;

/**
 * 被动回复消息的响应类型
 * @author yhaoquan
 *
 */
public class ResponseType {

	private String name ;
	
	private String value ;

	private ResponseType() {}
	
	private ResponseType(String name, String value) {
		super();
		this.name = name;
		this.value = value;
	}
	
	public static List<ResponseType> getResponseTypeList() {
		List<ResponseType> list = new ArrayList<ResponseType>() ;
		list.add(new ResponseType("文本信息", "text")) ;
		list.add(new ResponseType("图文信息", "news")) ;
		list.add(new ResponseType("视频信息", "video")) ;
		
		return list ;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Override
	public String toString() {
		return "ResponseType [name=" + name + ", value=" + value + "]";
	}
	
}
